// let Mock=require('mockjs');
import Mock from 'mockjs';
import floors from './json/floors.json'
Mock.mock('/mock/list',{
    code:200,
    "data|6":[
        {
            "id|+1":0,
            url:'@image("721x455","@color","#000000","jpg","@csentence")'
        }
    ]
})



Mock.mock('/mock/floor',{
    code:200,
    'data|2':floors
})



Mock.mock("/mock/sort",{
    code:200,
    data:[
        {id:0,type:1,msg:"综合"},
        {id:1,type:2,msg:"价格"},
        {id:2,type:3,msg:"距离"},
    ]
})